package com.hollycrm.ahunicom.sheet.sales.hibernate;

/**
 * TblUserDepartment entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TblUserDepartment implements java.io.Serializable {

	// Fields

	private TblUserDepartmentId tud;
	private String rowId;
	private String userCode;
	private String userName;
	private String rootDepartmentId;
	private String departmentName;
	private String vestType;

	// Constructors

	/** default constructor */
	public TblUserDepartment() {
	}

	/** minimal constructor */
	public TblUserDepartment(TblUserDepartmentId id) {
		this.tud = id;
	}

	/** full constructor */
	public TblUserDepartment(TblUserDepartmentId id, String rowId,
			String userCode, String userName, String rootDepartmentId,
			String departmentName, String vestType) {
		this.tud = id;
		this.rowId = rowId;
		this.userCode = userCode;
		this.userName = userName;
		this.rootDepartmentId = rootDepartmentId;
		this.departmentName = departmentName;
		this.vestType = vestType;
	}

	// Property accessors



	public String getRowId() {
		return this.rowId;
	}

	public void setRowId(String rowId) {
		this.rowId = rowId;
	}

	public String getUserCode() {
		return this.userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRootDepartmentId() {
		return this.rootDepartmentId;
	}

	public void setRootDepartmentId(String rootDepartmentId) {
		this.rootDepartmentId = rootDepartmentId;
	}

	public String getDepartmentName() {
		return this.departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getVestType() {
		return this.vestType;
	}

	public void setVestType(String vestType) {
		this.vestType = vestType;
	}

	public TblUserDepartmentId getTud() {
		return tud;
	}

	public void setTud(TblUserDepartmentId tud) {
		this.tud = tud;
	}

}